/*CodeBuilder v1.0.4 by 2022/2/26 22:14:22 */
using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class Log_Http : EntityBase
	{
		private System.Int32 _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(CNId, 0, true, IsPrimaryKey = true, IsIdentity = true)]
		public System.Int32 Id
		{
			get { return _Id; }
			set
			{
				if (!OnPropertyChanged(CNId, _Id, value)) return;
				_Id = value;
				SetFieldChanged(CNId) ;
			}
		}

		private System.DateTime _LogTime;
		/// <summary>
		/// 日志增加时间
		/// </summary>
		[Entity(CNLogTime, 1, true)]
		public System.DateTime LogTime
		{
			get { return _LogTime; }
			set
			{
				if (!OnPropertyChanged(CNLogTime, _LogTime, value)) return;
				_LogTime = value;
				SetFieldChanged(CNLogTime) ;
			}
		}

		private System.Int32 _Interval;
		/// <summary>
		/// 耗时间隔(毫秒)
		/// </summary>
		[Entity(CNInterval, 2, true)]
		public System.Int32 Interval
		{
			get { return _Interval; }
			set
			{
				if (!OnPropertyChanged(CNInterval, _Interval, value)) return;
				_Interval = value;
				SetFieldChanged(CNInterval) ;
			}
		}

		private System.String _AddHost;
		/// <summary>
		/// 客户端地址
		/// </summary>
		[Entity(CNAddHost, 3)]
		public System.String AddHost
		{
			get { return _AddHost; }
			set
			{
				if (!OnPropertyChanged(CNAddHost, _AddHost, value)) return;
				_AddHost = value;
				SetFieldChanged(CNAddHost) ;
			}
		}

		private System.String _Path;
		/// <summary>
		/// Path
		/// </summary>
		[Entity(CNPath, 4)]
		public System.String Path
		{
			get { return _Path; }
			set
			{
				if (!OnPropertyChanged(CNPath, _Path, value)) return;
				_Path = value;
				SetFieldChanged(CNPath) ;
			}
		}

		private System.String _ReqMethod;
		/// <summary>
		/// 请求方法
		/// </summary>
		[Entity(CNReqMethod, 5, true)]
		public System.String ReqMethod
		{
			get { return _ReqMethod; }
			set
			{
				if (!OnPropertyChanged(CNReqMethod, _ReqMethod, value)) return;
				_ReqMethod = value;
				SetFieldChanged(CNReqMethod) ;
			}
		}

		private System.Int32 _ReqLength;
		/// <summary>
		/// 请求长度
		/// </summary>
		[Entity(CNReqLength, 6, true)]
		public System.Int32 ReqLength
		{
			get { return _ReqLength; }
			set
			{
				if (!OnPropertyChanged(CNReqLength, _ReqLength, value)) return;
				_ReqLength = value;
				SetFieldChanged(CNReqLength) ;
			}
		}

		private System.String _ReqData;
		/// <summary>
		/// ReqData
		/// </summary>
		[Entity(CNReqData, 7)]
		public System.String ReqData
		{
			get { return _ReqData; }
			set
			{
				if (!OnPropertyChanged(CNReqData, _ReqData, value)) return;
				_ReqData = value;
				SetFieldChanged(CNReqData) ;
			}
		}

		private System.Int32 _RepLength;
		/// <summary>
		/// RepLength
		/// </summary>
		[Entity(CNRepLength, 8, true)]
		public System.Int32 RepLength
		{
			get { return _RepLength; }
			set
			{
				if (!OnPropertyChanged(CNRepLength, _RepLength, value)) return;
				_RepLength = value;
				SetFieldChanged(CNRepLength) ;
			}
		}

		private System.Int32 _RepStatus;
		/// <summary>
		/// RepStatus
		/// </summary>
		[Entity(CNRepStatus, 9, true)]
		public System.Int32 RepStatus
		{
			get { return _RepStatus; }
			set
			{
				if (!OnPropertyChanged(CNRepStatus, _RepStatus, value)) return;
				_RepStatus = value;
				SetFieldChanged(CNRepStatus) ;
			}
		}

		private System.String _AddUser;
		/// <summary>
		/// AddUser
		/// </summary>
		[Entity(CNAddUser, 10)]
		public System.String AddUser
		{
			get { return _AddUser; }
			set
			{
				if (!OnPropertyChanged(CNAddUser, _AddUser, value)) return;
				_AddUser = value;
				SetFieldChanged(CNAddUser) ;
			}
		}

		private System.Int32 _RetCode;
		/// <summary>
		/// RetCode
		/// </summary>
		[Entity(CNRetCode, 11, true)]
		public System.Int32 RetCode
		{
			get { return _RetCode; }
			set
			{
				if (!OnPropertyChanged(CNRetCode, _RetCode, value)) return;
				_RetCode = value;
				SetFieldChanged(CNRetCode) ;
			}
		}

		private System.String _RetMsg;
		/// <summary>
		/// RetMsg
		/// </summary>
		[Entity(CNRetMsg, 12)]
		public System.String RetMsg
		{
			get { return _RetMsg; }
			set
			{
				if (!OnPropertyChanged(CNRetMsg, _RetMsg, value)) return;
				_RetMsg = value;
				SetFieldChanged(CNRetMsg) ;
			}
		}

		private System.String _RetData;
		/// <summary>
		/// RetData
		/// </summary>
		[Entity(CNRetData, 13)]
		public System.String RetData
		{
			get { return _RetData; }
			set
			{
				if (!OnPropertyChanged(CNRetData, _RetData, value)) return;
				_RetData = value;
				SetFieldChanged(CNRetData) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNLogTime = "LogTime";
		public const string CNInterval = "Interval";
		public const string CNAddHost = "AddHost";
		public const string CNPath = "Path";
		public const string CNReqMethod = "ReqMethod";
		public const string CNReqLength = "ReqLength";
		public const string CNReqData = "ReqData";
		public const string CNRepLength = "RepLength";
		public const string CNRepStatus = "RepStatus";
		public const string CNAddUser = "AddUser";
		public const string CNRetCode = "RetCode";
		public const string CNRetMsg = "RetMsg";
		public const string CNRetData = "RetData";
		#endregion

	}
}
